{config_load file="site.conf" section="setup"}
{include file="header.tpl" title={$nam}}
{include file="menu.tpl" title={$nam}}
    <!-- Star Page Content  -->
    <div id="page-content"> 
      <!-- Start Page Header -->
      <div id="page-header">
        <h1>RF Office</h1>
      </div>
      <!-- End Page Header --> 
      <!-- Start Grid -->
      <div class="container_12"> 
        <!-- Start Web Stats -->
        <div class="grid_12">
          <div class="box-header"> {$nam} </div>
          <div class="box {if isset($tbl)}{$tbl}{/if}">
            {if isset($stats)}
				<div align="center">{$stats}</div>
			{else}
              <div class="grid_4">
                <div class="box-header"> <a href="?do=hour">Онлайн по часам</a> </div><br>
                <div class="box-header"> <a href="?do=guild">Гильдии</a> </div>
              </div>
			  <div class="grid_4">
                <div class="box-header"> <a href="?do=now">Текущй онлайн</a> </div><br>
                <div class="box-header"> <a href="?do=liders">Лидеры рас</a> </div>
              </div>
			  <div class="grid_4">
                <div class="box-header"> <a href="?do=top100">Топ 100</a> </div><br>
                <div class="box-header"> <a href="?do=banlist">Забаненые</a> </div>
              </div>
			{/if}
			{if isset($tbl)}
			{else}
			  <br class="cl" />
			{/if}
          </div>
        </div>
        <!-- End Web Stats --> 
        <!-- Start Web Stats -->

	<br class="cl" />
        <!-- End Web Stats --> 
        <!-- End Grid --> 
      </div>
      <!-- End Page Wrapper --> 
    </div>
    <!-- End Page Content  --> 
  </div>
</div>
<!-- Start Footer -->
<div class="footer"> Copyright 2011 by <a href="http://www.fdcore.ru/">FDCore Studio</a></div>
<!-- End Footer -->
{include file="footer.tpl"}